<?php

// ======================
// = The MySQL Settings =
// ======================
define('MYSQL_SERVER','');
define('MYSQL_USERNAME','');
define('MYSQL_PASSWORD','');
define('MYSQL_DATABASE','');

// ================================
// = User editable values finish! =
// ================================

if(!isset($_SERVER['REQUEST_URI']))
{
	$_SERVER['REQUEST_URI'] = $_SERVER['ORIG_PATH_INFO'];
}

// ==================
// = Base Directory =
// ==================
define('BASEDIR',dirname(__FILE__)."/");

// =============
// = Base Href =
// =============
preg_match( '/(.*\\/).*?[#?]?/', $_SERVER['REQUEST_URI'], $url );

if(isset($_SERVER['https']))
	define('BASEHREF',"https://".$_SERVER['SERVER_NAME'].$url[1]);
else
	define('BASEHREF',"http://".$_SERVER['SERVER_NAME'].$url[1]);

?>